package com.design.pattern.structuremode.facade;

/**
 * 结构型模式-外观模式
 * @author yll
 * @version 1.0.0
 * @date 2024/03/18 20：10
 * @desc Facade 知道哪些子系统类负责处理请求。 将客户的请求代理给适当的子系统对象。
 * */
public class Facade {
    StudentService studentSchoolService = new StudentSchoolServiceImpl();
    StudentService studentHomeService = new StudentHomeServiceImpl();
    public void homeDays(Student student){
        studentHomeService.studentDays(student);
    }
    public void schoolDays(Student student){
        studentSchoolService.studentDays(student);
    }

}
